package intgrafica.principal;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;

public class AlarmeSuplementoReceiver extends BroadcastReceiver {

	@Override
	public void onReceive(Context context, Intent intent) {

		Suplemento suplemento = (Suplemento) intent
				.getSerializableExtra("suplemento");

		Intent i = new Intent(context, AlarmeSuplemento.class);
		i.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
		i.putExtra("suplemento", suplemento);
		context.startActivity(i);

	}
}
